Includes APIs for displaying images, saving images, and converting pixel format. More...
Functions | |
| def | MV_CC_SaveImageEx3 (self, stSaveParam) |
| Saves images, supporting BMP and JPEG. More... | |
| def | MV_CC_SaveImageToFileEx (self, pstSaveFileParam) |
| Saves images to files. More... | |
| def | MV_CC_SaveImageToFileEx2 (self, pstImage, pSaveImageParam, pcImagePath) |
| Saves images to files. More... | |
| def | MV_CC_RotateImage (self, stRotateParam) |
| Rotates images. More... | |
| def | MV_CC_FlipImage (self, pstFlipParam) |
| Flips images. More... | |
| def | MV_CC_ConvertPixelTypeEx (self, pstCvtParam) |
| Converts pixel format. More... | |
| def | MV_CC_SetBayerCvtQuality (self, nBayerCvtQuality) |
| Sets the interpolation method of Bayer format. More... | |
| def | MV_CC_SetBayerFilterEnable (self, bFilterEnable) |
| Enables or disables the smoothing function of interpolation algorithm. More... | |
| def | MV_CC_SetBayerGammaValue (self, fBayerGammaValue) |
| Sets the Gamma value in Bayer pattern. More... | |
| def | MV_CC_SetGammaValue (self, enSrcPixelType, fGammaValue) |
| Sets Gamma value in Mono 8 or Bayer 8/10/12/16 pattern. More... | |
| def | MV_CC_SetBayerGammaParam (self, stGammaParam) |
| Sets Gamma information in Bayer pattern. More... | |
| def | MV_CC_SetBayerCCMParam (self, stCCMParam) |
| Enables/disables CCM and sets CCM parameters in Bayer pattern. More... | |
| def | MV_CC_SetBayerCCMParamEx (self, stCCMParam) |
| Enables/disables CCM and sets CCM parameters in Bayer pattern (extended API). More... | |
| def | MV_CC_ImageContrast (self, stConstrastParam) |
| Adjusts image contrast. More... | |
| def | MV_CC_PurpleFringing (self, pstPurpleFringingParam) |
| Corrects purple fringing of the image. More... | |
| def | MV_CC_HBDecode (self, stDecodeParam) |
| Decodes lossless compression stream into raw data. More... | |
| def | MV_CC_StartRecord (self, stRecordParam) |
| Starts recording. More... | |
| def | MV_CC_InputOneFrame (self, stInputFrameInfo) |
| Inputs raw data for recording. More... | |
| def | MV_CC_InputOneFrameEx (self, stInputFrameInfo) |
| Input RAW data to Record. More... | |
| def | MV_CC_StopRecord (self) |
| Stops recording. More... | |
| def | MV_CC_ReconstructImage (self, stReconstructParam) |
| Reconstructs the image for multi-light control. More... | |
Includes APIs for displaying images, saving images, and converting pixel format.
| def MvCameraControl_class.MV_CC_SaveImageEx3 | ( | self, | |
| stSaveParam | |||
| ) |
Saves images, supporting BMP and JPEG.
| handle | [IN] It refers to the device handle. |
| pstSaveParam | [IN][OUT] It refers to the structure of image saving parameters. |
| def MvCameraControl_class.MV_CC_SaveImageToFileEx | ( | self, | |
| pstSaveFileParam | |||
| ) |
Saves images to files.
| handle | [IN] It refers to the device handle. |
| pstSaveFileParam | [IN][OUT] It refers to the structure of image file saving parameters. |
| def MvCameraControl_class.MV_CC_SaveImageToFileEx2 | ( | self, | |
| pstImage, | |||
| pSaveImageParam, | |||
| pcImagePath | |||
| ) |
Saves images to files.
| handle | [IN] It refers to the device handle. |
| pstImage | [IN] It refers to the image information. |
| pSaveImageParam | [IN] It refers to the image saving parameter. |
| pcImagePath | [IN] It refers to the image saving path. |
| def MvCameraControl_class.MV_CC_RotateImage | ( | self, | |
| stRotateParam | |||
| ) |
Rotates images.
| handle | [IN] It refers to the device handle. |
| pstRotateParam | [IN][OUT] It refers to the structure of image rotation parameters. |
| def MvCameraControl_class.MV_CC_FlipImage | ( | self, | |
| pstFlipParam | |||
| ) |
Flips images.
| handle | [IN] It refers to the device handle. |
| pstFlipParam | [IN][OUT] It refers to the structure of image flipping parameters. |
| def MvCameraControl_class.MV_CC_ConvertPixelTypeEx | ( | self, | |
| pstCvtParam | |||
| ) |
Converts pixel format.
| handle | [IN] It refers to the device handle. |
| pstCvtParam | [IN][OUT] It refers to the structure of pixel format conversion parameters. |
| Output Format / Input Format | Mono8 | RGB24 | BGR24 | RGB Planar | YUV422 | YUV422 YUYV |
|---|---|---|---|---|---|---|
| Mono8 | √ | √ | √ | √ | √ | |
| Mono10 | √ | √ | √ | √ | √ | |
| Mono10P | √ | √ | √ | √ | √ | |
| Mono12 | √ | √ | √ | √ | √ | |
| Mono12P | √ | √ | √ | √ | √ | |
| BayerGR8 | √ | √ | √ | √ | √ | √ |
| BayerRG8 | √ | √ | √ | √ | √ | √ |
| BayerGB8 | √ | √ | √ | √ | √ | √ |
| BayerBG8 | √ | √ | √ | √ | √ | √ |
| BayerRBGG8 | √ | √ | √ | √ | √ | √ |
| BayerBRGG8 | √ | √ | √ | √ | √ | √ |
| BayerGR10 | √ | √ | √ | √ | √ | |
| BayerRG10 | √ | √ | √ | √ | √ | |
| BayerGB10 | √ | √ | √ | √ | √ | |
| BayerBG10 | √ | √ | √ | √ | √ | |
| BayerGR12 | √ | √ | √ | √ | √ | |
| BayerRG12 | √ | √ | √ | √ | √ | |
| BayerGB12 | √ | √ | √ | √ | √ | |
| BayerBG12 | √ | √ | √ | √ | √ | |
| BayerGR10P | √ | √ | √ | √ | √ | |
| BayerRG10P | √ | √ | √ | √ | √ | |
| BayerGB10P | √ | √ | √ | √ | √ | |
| BayerBG10P | √ | √ | √ | √ | √ | |
| BayerGR12P | √ | √ | √ | √ | √ | |
| BayerRG12P | √ | √ | √ | √ | √ | |
| BayerGB12P | √ | √ | √ | √ | √ | |
| BayerBG12P | √ | √ | √ | √ | √ | |
| RGB8P | √ | √ | √ | √ | √ | √ |
| BGR8P | √ | √ | √ | √ | √ | √ |
| YUV422P | √ | √ | √ | √ | √ | |
| YUV422 YUYV | √ | √ | √ | √ | √ |
| def MvCameraControl_class.MV_CC_SetBayerCvtQuality | ( | self, | |
| nBayerCvtQuality | |||
| ) |
Sets the interpolation method of Bayer format.
| handle | [IN] It refers to the device handle. |
| nBayerCvtQuality | [IN] It refers to the interpolation method. 0: fast, 1: equilibrated (default), 2: optimal, 3: optimal plus. |
| def MvCameraControl_class.MV_CC_SetBayerFilterEnable | ( | self, | |
| bFilterEnable | |||
| ) |
Enables or disables the smoothing function of interpolation algorithm.
| handle | [IN] It refers to the device handle. |
| bFilterEnable | [IN] Whether to enable the smoothing function of interpolation algorithm (disabled by default). |
| def MvCameraControl_class.MV_CC_SetBayerGammaValue | ( | self, | |
| fBayerGammaValue | |||
| ) |
Sets the Gamma value in Bayer pattern.
| handle | [IN] It refers to the device handle. |
| fBayerGammaValue | [IN] It refers to the Gamma value, range: [0.1, 4.0]. |
| def MvCameraControl_class.MV_CC_SetGammaValue | ( | self, | |
| enSrcPixelType, | |||
| fGammaValue | |||
| ) |
Sets Gamma value in Mono 8 or Bayer 8/10/12/16 pattern.
| handle | [IN] It refers to the device handle. |
| MvGvspPixelType | enSrcPixelType [IN] It refers to the pixel format. Supports PixelType_Gvsp_Mono8 and Bayer 8/10/12/16. |
| fGammaValue | [IN] It refers to the Gamma value, range: [0.1, 4.0]. |
| def MvCameraControl_class.MV_CC_SetBayerGammaParam | ( | self, | |
| stGammaParam | |||
| ) |
Sets Gamma information in Bayer pattern.
| handle | [IN] It refers to the device handle. |
| pstGammaParam | [IN] It refers to the Gamma information. |
| def MvCameraControl_class.MV_CC_SetBayerCCMParam | ( | self, | |
| stCCMParam | |||
| ) |
Enables/disables CCM and sets CCM parameters in Bayer pattern.
The default quantitative scale is 1024.
| handle | [IN] It refers to the device handle. |
| pstCCMParam | [IN] It refers to CCM parameter. |
| def MvCameraControl_class.MV_CC_SetBayerCCMParamEx | ( | self, | |
| stCCMParam | |||
| ) |
Enables/disables CCM and sets CCM parameters in Bayer pattern (extended API).
| handle | [IN] It refers to the device handle. |
| pstCCMParam | [IN] It refers to CCM parameter. |
| def MvCameraControl_class.MV_CC_ImageContrast | ( | self, | |
| stConstrastParam | |||
| ) |
Adjusts image contrast.
| handle | [IN] It refers to the device handle. |
| pstContrastParam | [IN][OUT] It refers to the contrast parameter structure. |
| def MvCameraControl_class.MV_CC_PurpleFringing | ( | self, | |
| pstPurpleFringingParam | |||
| ) |
Corrects purple fringing of the image.
| handle | [IN] It refers to the device handle. |
| pstPurpleFringingParam | [IN][OUT] It refers to the purple fringing correction parameter. |
| def MvCameraControl_class.MV_CC_HBDecode | ( | self, | |
| stDecodeParam | |||
| ) |
Decodes lossless compression stream into raw data.
| handle | [IN] It refers to the device handle. |
| pstDecodeParam | [IN][OUT] It refers to the structure of lossless decoding parameters. |
| def MvCameraControl_class.MV_CC_StartRecord | ( | self, | |
| stRecordParam | |||
| ) |
Starts recording.
| handle | [IN] It refers to the device handle. |
| pstRecordParam | [IN] It refers to the recording parameter structure. |
| def MvCameraControl_class.MV_CC_InputOneFrame | ( | self, | |
| stInputFrameInfo | |||
| ) |
Inputs raw data for recording.
| handle | [IN] It refers to the device handle. |
| pstInputFrameInfo | [IN] It refers to the record data structure. |
| def MvCameraControl_class.MV_CC_InputOneFrameEx | ( | self, | |
| stInputFrameInfo | |||
| ) |
Input RAW data to Record.
| handle | [IN] Device handle |
| pstInputFrameInfo | [IN] Record data structure |
| def MvCameraControl_class.MV_CC_StopRecord | ( | self | ) |
Stops recording.
| handle | [IN] It refers to the device handle. |
| def MvCameraControl_class.MV_CC_ReconstructImage | ( | self, | |
| stReconstructParam | |||
| ) |
Reconstructs the image for multi-light control.
| handle | [IN] It refers to the device handle. |
| pstReconstructParam | [IN][OUT] It refers to the image reconstruction parameter. |